import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import '@/assets/css/reset.scss'
import '@/assets/css/iconfont.scss';
import api from './api/index'
Vue.prototype.$request = api
import reg from '@/assets/js/reg';
Vue.prototype.$reg = reg;
import utils from '@/assets/js/utils';
Vue.prototype.$utils = utils;
Vue.config.productionTip = false
// import VueHtml5Editor from 'vue-html5-editor'
// Vue.use(VueHtml5Editor, {name: "vue-html5-editor",showModuleName: false});

// import { Dialog } from 'vant';
// import KFormDesign from 'k-form-design'
// import 'k-form-design/lib/k-form-design.css'
// Vue.use(KFormDesign)

// //引入插件核心文件
// import VueQuillEditor from 'vue-quill-editor'
// //引入插件样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

// Vue.use(Dialog);
// Vue.filter('role',)
import { Notify,Icon,Toast,Dialog,Cell,CellGroup,Button,Image as VanImage,Collapse,CollapseItem,DatetimePicker,
 Tab,Tabs,List,PullRefresh,Loading,Popup,Swipe,SwipeItem,Lazyload,DropdownMenu,DropdownItem,Field,ActionSheet,
 Search,RadioGroup, Radio, Empty,Form,Picker  } from 'vant';
Vue.use(Notify).use(Icon).use(Toast).use(Dialog).use(Button).use(Lazyload).use(Collapse).use(CollapseItem)
.use(Cell).use(CellGroup).use(VanImage).use(Swipe).use(SwipeItem).use(DropdownMenu).use(DropdownItem)
.use(Tab).use(Tabs).use(List).use(PullRefresh).use(Loading).use(Popup).use(DatetimePicker).use(ActionSheet)
.use(Field).use(Search).use(RadioGroup).use(Radio).use(Empty).use(Form).use(Picker );

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
